package cn.zw.msmp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.zw.msmp.pojo.TransactionInfo;

public interface TransactionDao{
	
	public TransactionInfo getTransaction(@Param("id") Integer id);
	
	public void insert(TransactionInfo transactionInfo);
	
	public void update(TransactionInfo transactionInfo);
	
	public int batchInsert(List<TransactionInfo> list);
	
	public int delete(List<Integer> ids);
	
	public List<TransactionInfo> queryTransactions(TransactionInfo info);
}
